package com.ang.create.prototype2;

/**
 * @author ANG.YU
 * @date 2020-09-22 13:39
 */
public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        MilkTea t1 = new MilkTea("普通", "0", new A("a"));
        MilkTea t2 = t1.clone();
        System.out.println(t1.equals(t2));
        System.out.println(t1 == t2);
        System.out.println(t1.getA().equals(t2.getA()));
        System.out.println(t1.getA() == t2.getA());
    }
}
